<template>
    <!-- Component/search/search.wxml -->
    <view class="box">
        <icon type="search" />
        <text>搜索</text>
    </view>
</template>

<script>
// Component/search/search.js
export default {
    data() {
        return {};
    },
    /**
     * 组件的属性列表
     */
    props: {},
    /**
     * 组件的方法列表
     */
    methods: {},
    created: function () {}
};
</script>
<style>
/* Component/search/search.wxss */
.box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 95%;
    height: 60rpx;
    background-color: white;
    border-radius: 10rpx;
    color: grey;
}
</style>
